home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / gnu / gnulib / libsrc98.zoo / tchars.c < prev    next >
C/C++ Source or Header  |  1990-02-27  |  852b  |  35 lines

  1. /*
  2.  *        Cross Development System for Atari ST 
  3.  *     Copyright (c) 1988, Memorial University of Newfoundland
  4.  *
  5.  *  These to keep track of the current special characters and tty mode.
  6.  *
  7.  */
  8. #include    <ioctl.h>
  9. #include    <tchars.h>
  10.  
  11. int    __ttymode = CRMOD|ECHO|XTABS;
  12. char    __tchars[] = {
  13.             010,        /* TC_ERASE - ^H */
  14.             025,        /* TC_KILL - ^U */
  15.             003,        /* TC_INTRC - ^C */
  16.             034,        /* TC_QUITC - ^\ */
  17.             004,        /* TC_EOFC - ^D */
  18.             TC_UNDEF,    /* TC_BRKC - undefined */
  19.             022,        /* TC_RPRNTC - ^R */
  20.             027,        /* TC_WREASC - ^W */
  21.             026,        /* TC_LNEXTC - ^V */
  22.              0177,        /* TC_RUBOUT - RUB */
  23.             032,        /* TC_SUSP - ^Z */
  24.             031,        /* TC_DSUSP - ^Y */
  25.             TC_UNDEF,    /* TC_FLUSHC - undefined */
  26.             TC_UNDEF,    /* TC_STARTC - undefined */
  27.             TC_UNDEF    /* TC_STOPC - undefined */
  28.         };
  29.  
  30. #if 0    /* for now */
  31.  char    *__tchars;
  32. KEYTAB    *__keytab;
  33. long    *_ttymode;
  34. #endif
  35.